package com.ws.admin.donate.mapper;

import com.ws.admin.donate.entity.Donate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.HashMap;
import java.util.List;
/**
 * <p>
 * 捐赠信息表 Mapper 接口
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-22
 */
@Mapper
public interface DonateMapper extends BaseMapper<Donate> {

    List<Donate> listByParam(Page<Donate> page, @Param("param") Donate donate);

    Donate  readByMap(@Param("param") HashMap<String, Object> map);

    List<Donate> listRank(Page<Donate> page, @Param("param") Donate donate);
}
